﻿<%@ Page Language="C#" AutoEventWireup="true" MaintainScrollPositionOnPostback="false" EnableEventValidation="false"
   ValidateRequest="false" CodeBehind="TestUI.aspx.cs" Inherits="PerceptiveMCAPI_Test._Default" %>

<%@ Register Src="Controls/get/get_campaignShareReport.ascx" TagName="get_campaignShareReport" TagPrefix="uc56" %>
<%@ Register Src="Controls/get/get_listBatchSubscribe.ascx" TagName="get_listBatchSubscribe" TagPrefix="uc59" %>
<%@ Register Src="Controls/get/get_campaignCreate.ascx" TagName="get_campaignCreate" TagPrefix="uc3" %>
<%@ Register Src="Controls/get/get_CampaignGenericParms.ascx" TagName="get_CampaignGenericParms" TagPrefix="uc5" %>
<%@ Register Src="Controls/get/get_campaigns.ascx" TagName="get_campaigns" TagPrefix="uc6" %>
<%@ Register Src="Controls/get/get_campaignSegment.ascx" TagName="get_campaignSegment" TagPrefix="uc7" %>
<%@ Register Src="Controls/get/get_campaignSend.ascx" TagName="get_campaignSend" TagPrefix="uc8" %>
<%@ Register Src="Controls/get/get_campaignStats.ascx" TagName="get_campaignStats" TagPrefix="uc9" %>
<%@ Register Src="Controls/get/get_campaignUpdate.ascx" TagName="get_campaignUpdate" TagPrefix="uc10" %>
<%@ Register Src="Controls/get/get_createFolder.ascx" TagName="get_createFolder" TagPrefix="uc11" %>
<%@ Register Src="Controls/get/get_generateText.ascx" TagName="get_generateText" TagPrefix="uc12" %>
<%@ Register Src="Controls/get/get_inlineCss.ascx" TagName="get_inlineCss" TagPrefix="uc13" %>
<%@ Register Src="Controls/get/get_listAbuseReports.ascx" TagName="get_listAbuseReports" TagPrefix="uc14" %>
<%@ Register Src="Controls/get/get_ListIdParm.ascx" TagName="get_ListIdParm" TagPrefix="uc15" %>
<%@ Register Src="Controls/get/get_listInterestGroups.ascx" TagName="get_listInterestGroups" TagPrefix="uc16" %>
<%@ Register Src="Controls/get/get_listMembers.ascx" TagName="get_listMembers" TagPrefix="uc17" %>
<%@ Register Src="Controls/get/get_listMergeVars.ascx" TagName="get_listMergeVars" TagPrefix="uc18" %>
<%@ Register Src="Controls/get/get_listSubscribe.ascx" TagName="get_listSubscribe" TagPrefix="uc19" %>
<%@ Register Src="Controls/get/get_listUnsubscribe.ascx" TagName="get_listUnsubscribe" TagPrefix="uc20" %>
<%@ Register Src="Controls/get/get_NoParms.ascx" TagName="get_NoParms" TagPrefix="uc21" %>
<%@ Register Src="Controls/get/get_SecurityParms.ascx" TagName="get_SecurityParms" TagPrefix="uc22" %>
<%@ Register Src="Controls/get/sub_MergeVars.ascx" TagName="sub_MergeVars" TagPrefix="uc23" %>
<%@ Register Src="Controls/get/get_listWebhooks.ascx" TagName="get_listWebhooks" TagPrefix="uc53" %>
<%@ Register Src="Controls/get/get_listsForEmail.ascx" TagName="get_listsForEmail" TagPrefix="uc62" %>
<%@ Register Src="Controls/get/get_ecommOrder.ascx" TagName="get_ecommOrder" TagPrefix="uc4" %>
<%@ Register Src="Controls/get/get_listInterestGrouping.ascx" TagName="get_listInterestGrouping" TagPrefix="uc60" %>
<%@ Register Src="Controls/get/get_listStaticSegment.ascx" TagName="get_listStaticSegment" TagPrefix="uc61" %>
<%@ Register Src="Controls/show/show_listStaticSegments.ascx" TagName="show_listStaticSegments" TagPrefix="uc68" %>
<%@ Register Src="Controls/show/show_listStaticSegmentMembers.ascx" TagName="show_listStaticSegmentMembers"
   TagPrefix="uc69" %>
<%-- --%>
<%@ Register Src="Controls/show/show_chimpChatter.ascx" TagName="show_chimpChatter" TagPrefix="uc63" %>
<%@ Register Src="Controls/show/show_listsForEmail.ascx" TagName="show_listsForEmail" TagPrefix="uc64" %>
<%@ Register Src="Controls/show/show_campaignGeoOpens.ascx" TagName="show_campaignGeoOpens" TagPrefix="uc65" %>
<%@ Register Src="Controls/show/show_campaignGeoOpensForCountry.ascx" TagName="show_campaignGeoOpensForCountry"
   TagPrefix="uc66" %>
<%@ Register Src="Controls/show/show_campaignEepUrlStats.ascx" TagName="show_campaignEepUrlStats" TagPrefix="uc67" %>
<%@ Register Src="Controls/show/show_listWebhooks.ascx" TagName="show_listWebhooks" TagPrefix="uc54" %>
<%@ Register Src="Controls/show/show_getAccountDetails.ascx" TagName="show_getAccountDetails" TagPrefix="uc55" %>
<%@ Register Src="Controls/show/show_campaignShareReport.ascx" TagName="show_campaignShareReport" TagPrefix="uc57" %>
<%@ Register Src="Controls/show/show_API_Response.ascx" TagName="show_API_Response" TagPrefix="uc58" %>
<%@ Register Src="Controls/show/show_API_Request.ascx" TagName="show_API_Request" TagPrefix="uc1" %>
<%@ Register Src="Controls/show/show_errors.ascx" TagName="show_errors" TagPrefix="uc2" %>
<%@ Register Src="Controls/show/show_API_Settings.ascx" TagName="show_API_Settings" TagPrefix="uc24" %>
<%@ Register Src="Controls/show/show_apikeys.ascx" TagName="show_apikeys" TagPrefix="uc25" %>
<%@ Register Src="Controls/show/show_campaignAbuseReports.ascx" TagName="show_campaignAbuseReports" TagPrefix="uc26" %>
<%@ Register Src="Controls/show/show_campaignAdvice.ascx" TagName="show_campaignAdvice" TagPrefix="uc27" %>
<%@ Register Src="Controls/show/show_campaignAnalytics.ascx" TagName="show_campaignAnalytics" TagPrefix="uc28" %>
<%@ Register Src="Controls/show/show_campaignBounceMessages.ascx" TagName="show_campaignBounceMessages"
   TagPrefix="uc29" %>
<%@ Register Src="Controls/show/show_campaignClickDetailAIM.ascx" TagName="show_campaignClickDetailAIM"
   TagPrefix="uc30" %>
<%@ Register Src="Controls/show/show_campaignClickStats.ascx" TagName="show_campaignClickStats" TagPrefix="uc31" %>
<%@ Register Src="Controls/show/show_campaignContent.ascx" TagName="show_campaignContent" TagPrefix="uc32" %>
<%@ Register Src="Controls/show/show_campaignEcommOrders.ascx" TagName="show_campaignEcommOrders" TagPrefix="uc33" %>
<%@ Register Src="Controls/show/show_campaignEmailDomainPerformance.ascx" TagName="show_campaignEmailDomainPerformance"
   TagPrefix="uc34" %>
<%@ Register Src="Controls/show/show_campaignEmailStatsAIM.ascx" TagName="show_campaignEmailStatsAIM"
   TagPrefix="uc35" %>
<%@ Register Src="Controls/show/show_campaignEmailStatsAIMAll.ascx" TagName="show_campaignEmailStatsAIMAll"
   TagPrefix="uc36" %>
<%@ Register Src="Controls/show/show_campaignFolders.ascx" TagName="show_campaignFolders" TagPrefix="uc37" %>
<%@ Register Src="Controls/show/show_campaignOpenedAIM.ascx" TagName="show_campaignOpenedAIM" TagPrefix="uc38" %>
<%@ Register Src="Controls/show/show_campaigns.ascx" TagName="show_campaigns" TagPrefix="uc39" %>
<%@ Register Src="Controls/show/show_campaignStats.ascx" TagName="show_campaignStats" TagPrefix="uc40" %>
<%@ Register Src="Controls/show/show_campaignStatsEmail.ascx" TagName="show_campaignStatsEmail" TagPrefix="uc41" %>
<%@ Register Src="Controls/show/show_campaignTemplates.ascx" TagName="show_campaignTemplates" TagPrefix="uc42" %>
<%@ Register Src="Controls/show/show_DefaultResponse.ascx" TagName="show_DefaultResponse" TagPrefix="uc43" %>
<%@ Register Src="Controls/show/show_listAbuseReports.ascx" TagName="show_listAbuseReports" TagPrefix="uc45" %>
<%@ Register Src="Controls/show/show_listBatch.ascx" TagName="show_listBatch" TagPrefix="uc46" %>
<%@ Register Src="Controls/show/show_listGrowthHistory.ascx" TagName="show_listGrowthHistory" TagPrefix="uc47" %>
<%@ Register Src="Controls/show/show_listInterestGroups.ascx" TagName="show_listInterestGroups" TagPrefix="uc48" %>
<%@ Register Src="Controls/show/show_listMemberInfo.ascx" TagName="show_listMemberInfo" TagPrefix="uc49" %>
<%@ Register Src="Controls/show/show_listMembers.ascx" TagName="show_listMembers" TagPrefix="uc50" %>
<%@ Register Src="Controls/show/show_listMergeVars.ascx" TagName="show_listMergeVars" TagPrefix="uc51" %>
<%@ Register Src="Controls/show/show_lists.ascx" TagName="show_lists" TagPrefix="uc52" %>
<%@ Register Src="Controls/show/show_listInterestGroupings.ascx" TagName="show_listInterestGroupings"
   TagPrefix="uc44" %>
<%-- --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
   <title>PerceptiveMCAPI Test UI</title>
   <link href="App_themes/default/layout.css" rel="stylesheet" type="text/css" />
</head>
<body>
   <form id="form1" runat="server" defaultbutton="btnTest">
   <div>
      <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true" LoadScriptsBeforeUI="true">
      </asp:ScriptManager>
      <asp:UpdatePanel ID="UpdatePanel1" runat="server">
         <ContentTemplate>
            <div>
               <div style="padding: 6px;">
                  <asp:Button ID="btnTest" runat="server" OnClick="btnTest_Click" Text="Test It" Width="100px" />
                  &nbsp;
                  <asp:Button ID="btnSettings" runat="server" CausesValidation="False" OnClick="btnSettings_Click" Text="Settings" />&nbsp;&nbsp;&nbsp;
                  <span style="font-weight: bold;">ApiKey:</span>
                  <asp:TextBox ID="tbApiKey" Columns="42" runat="server" Font-Bold="True" ForeColor="#C82808" />
                  <p>
                     <span style="font-weight: bold;">Access: </span>
                     <asp:RadioButtonList ID="rblAccess" runat="server" RepeatDirection="Horizontal" 
                     RepeatLayout="Flow" Style="margin-left: 3px">
                        <asp:ListItem Value="XmlRpc">Xml-Rpc</asp:ListItem>
                        <asp:ListItem Value="Serial">Serialized</asp:ListItem>
                     </asp:RadioButtonList>
                     &nbsp;&nbsp;&nbsp;
                     <span style="font-weight: bold;">Method:</span>
                     <asp:RadioButtonList ID="rblMethodType" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow"
                        Style="margin-left: 3px">
                        <asp:ListItem Value="POST">POST</asp:ListItem>
                        <asp:ListItem Value="GET">GET</asp:ListItem>
                     </asp:RadioButtonList>
                     &nbsp;&nbsp;&nbsp;
                     <span style="font-weight: bold;">
                        <asp:CheckBox ID="cbEncode" runat="server" Text="Encode:" TextAlign="Left" Checked="true" /></span>
                     <br />
                     <br />
                     <span style="font-weight: bold;">Output: </span>
                     <asp:RadioButtonList ID="rblOutType" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow"
                        Style="margin-left: 6px" OnSelectedIndexChanged="rblResponse_SelectedIndexChanged">
                        <asp:ListItem Value="XmlRpc">XmlRpc</asp:ListItem>
                        <asp:ListItem Value="JSON">JSON</asp:ListItem>
                        <asp:ListItem Value="XML">XML</asp:ListItem>
                        <asp:ListItem Value="PHP">PHP</asp:ListItem>
                     </asp:RadioButtonList>
                  </p>
                  <p>
                     <span style="font-weight: bold;">Response-Formatted: </span>
                     <asp:RadioButtonList ID="rblResponseFormatted" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow"
                        Style="margin-left: 12px" AutoPostBack="True" OnSelectedIndexChanged="rblResponse_SelectedIndexChanged">
                        <asp:ListItem Selected="True" Value="show">Show</asp:ListItem>
                        <asp:ListItem Value="noshow">Hide</asp:ListItem>
                        <asp:ListItem Value="tostring">ToString</asp:ListItem>
                     </asp:RadioButtonList>
                     &nbsp;&nbsp;&nbsp;&nbsp;
                     <span style="font-weight: bold;">Response-Unformatted:</span><asp:RadioButtonList ID="rblResponseUnformatted"
                        runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" Style="margin-left: 12px" AutoPostBack="True"
                        OnSelectedIndexChanged="rblResponse_SelectedIndexChanged">
                        <asp:ListItem Value="show">Show</asp:ListItem>
                        <asp:ListItem Selected="True" Value="noshow">Hide</asp:ListItem>
                     </asp:RadioButtonList>
                  </p>
                  <span style="font-weight: bold;">Method to Test: </span>
                  <asp:DropDownList ID="ddlMethods" runat="server" AppendDataBoundItems="True" AutoPostBack="True" OnSelectedIndexChanged="ddlMethods_SelectedIndexChanged">
                     <asp:ListItem Selected="True" Value="-">-- Select --</asp:ListItem>
                  </asp:DropDownList>
                  &nbsp;&nbsp;&nbsp;
                  <span style="font-weight: bold;">
                     <asp:CheckBox ID="cbValidate" runat="server" Text="Validate:" TextAlign="Left" Checked="false" /></span>
                  <asp:UpdateProgress ID="UpdateProgress1" runat="server" DisplayAfter='500' DynamicLayout="false" AssociatedUpdatePanelID='UpdatePanel1'>
                     <ProgressTemplate>
                        <span style='color: #990000; font-weight: bold;'>
                           <img src="images/DOWNLOAD_00.gif" alt="Processing...." />
                           &nbsp; Processing.... </span>
                     </ProgressTemplate>
                  </asp:UpdateProgress>
               </div>
               <uc1:show_API_Request ID="show_API_Request1" runat="server" Visible="false" />
               <hr />
               <uc2:show_errors ID="show_errors1" runat="server" Visible="false" />
               <%-- Response --%>
               <uc58:show_API_Response ID="show_API_Response1" runat="server" Visible="false" />
               <%-- Response --%>
               <asp:Panel ID="pnlResponse" runat="server" Visible="false" CssClass="pnlResponse">
                  <div>
                     <uc24:show_API_Settings ID="show_API_Settings1" runat="server" Visible="false" />
                     <uc25:show_apikeys ID="show_apikeys1" runat="server" Visible="false" />
                     <uc26:show_campaignAbuseReports ID="show_campaignAbuseReports1" runat="server" Visible="false" />
                     <uc27:show_campaignAdvice ID="show_campaignAdvice1" runat="server" Visible="false" />
                     <uc28:show_campaignAnalytics ID="show_campaignAnalytics1" runat="server" Visible="false" />
                     <uc29:show_campaignBounceMessages ID="show_campaignBounceMessages1" runat="server" Visible="false" />
                     <uc30:show_campaignClickDetailAIM ID="show_campaignClickDetailAIM1" runat="server" Visible="false" />
                     <uc31:show_campaignClickStats ID="show_campaignClickStats1" runat="server" Visible="false" />
                     <uc32:show_campaignContent ID="show_campaignContent1" runat="server" Visible="false" />
                     <uc33:show_campaignEcommOrders ID="show_campaignEcommOrders1" runat="server" Visible="false" />
                     <uc34:show_campaignEmailDomainPerformance ID="show_campaignEmailDomainPerformance1" runat="server" Visible="false" />
                     <uc35:show_campaignEmailStatsAIM ID="show_campaignEmailStatsAIM1" runat="server" Visible="false" />
                     <uc36:show_campaignEmailStatsAIMAll ID="show_campaignEmailStatsAIMAll1" runat="server" Visible="false" />
                     <uc37:show_campaignFolders ID="show_campaignFolders1" runat="server" Visible="false" />
                     <uc38:show_campaignOpenedAIM ID="show_campaignOpenedAIM1" runat="server" Visible="false" />
                     <uc39:show_campaigns ID="show_campaigns1" runat="server" Visible="false" />
                     <uc40:show_campaignStats ID="show_campaignStats1" runat="server" Visible="false" />
                     <uc41:show_campaignStatsEmail ID="show_campaignStatsEmail1" runat="server" Visible="false" />
                     <uc42:show_campaignTemplates ID="show_campaignTemplates1" runat="server" Visible="false" />
                     <uc43:show_DefaultResponse ID="show_DefaultResponse1" runat="server" Visible="false" />
                     <uc44:show_listInterestGroupings ID="show_listInterestGroupings1" runat="server" Visible="false" />
                     <uc45:show_listAbuseReports ID="show_listAbuseReports1" runat="server" Visible="false" />
                     <uc46:show_listBatch ID="show_listBatch1" runat="server" Visible="false" />
                     <uc47:show_listGrowthHistory ID="show_listGrowthHistory1" runat="server" Visible="false" />
                     <uc48:show_listInterestGroups ID="show_listInterestGroups1" runat="server" Visible="false" />
                     <uc49:show_listMemberInfo ID="show_listMemberInfo1" runat="server" Visible="false" />
                     <uc50:show_listMembers ID="show_listMembers1" runat="server" Visible="false" />
                     <uc51:show_listMergeVars ID="show_listMergeVars1" runat="server" Visible="false" />
                     <uc52:show_lists ID="show_lists1" runat="server" Visible="false" />
                     <uc54:show_listWebhooks ID="show_listWebhooks1" runat="server" Visible="false" />
                     <uc55:show_getAccountDetails ID="show_getAccountDetails1" runat="server" Visible="false" />
                     <uc57:show_campaignShareReport ID="show_campaignShareReport1" runat="server" Visible="false" />
                     <uc63:show_chimpChatter ID="show_chimpChatter1" runat="server" Visible="false" />
                     <uc64:show_listsForEmail ID="show_listsForEmail1" runat="server" Visible="false" />
                     <uc65:show_campaignGeoOpens ID="show_campaignGeoOpens1" runat="server" Visible="false" />
                     <uc66:show_campaignGeoOpensForCountry ID="show_campaignGeoOpensForCountry1" runat="server" Visible="false" />
                     <uc67:show_campaignEepUrlStats ID="show_campaignEepUrlStats1" runat="server" Visible="false" />
                     <uc68:show_listStaticSegments ID="show_listStaticSegments1" runat="server" Visible="false" />
                     <uc69:show_listStaticSegmentMembers ID="show_listStaticSegmentMembers1" runat="server" Visible="false" />
                     <br />
                  </div>
               </asp:Panel>
               <%-- Request --%>
               <asp:Panel ID="pnlRequest" runat="server" Width="100%" Visible="false">
                  <uc3:get_campaignCreate ID="get_campaignCreate1" runat="server" Visible="false" />
                  <uc4:get_ecommOrder ID="get_ecommOrder1" runat="server" Visible="false" />
                  <uc5:get_CampaignGenericParms ID="get_CampaignGenericParms1" runat="server" Visible="false" />
                  <uc6:get_campaigns ID="get_campaigns1" runat="server" Visible="false" />
                  <uc7:get_campaignSegment ID="get_campaignSegment1" runat="server" Visible="false" />
                  <uc8:get_campaignSend ID="get_campaignSend1" runat="server" Visible="false" />
                  <uc9:get_campaignStats ID="get_campaignStats1" runat="server" Visible="false" />
                  <uc10:get_campaignUpdate ID="get_campaignUpdate1" runat="server" Visible="false" />
                  <uc11:get_createFolder ID="get_createFolder1" runat="server" Visible="false" />
                  <uc12:get_generateText ID="get_generateText1" runat="server" Visible="false" />
                  <uc13:get_inlineCss ID="get_inlineCss1" runat="server" Visible="false" />
                  <uc14:get_listAbuseReports ID="get_listAbuseReports1" runat="server" Visible="false" />
                  <uc15:get_ListIdParm ID="get_ListIdParm1" runat="server" Visible="false" />
                  <uc16:get_listInterestGroups ID="get_listInterestGroups1" runat="server" Visible="false" />
                  <uc17:get_listMembers ID="get_listMembers1" runat="server" Visible="false" />
                  <uc18:get_listMergeVars ID="get_listMergeVars1" runat="server" Visible="false" />
                  <uc19:get_listSubscribe ID="get_listSubscribe1" runat="server" Visible="false" />
                  <uc20:get_listUnsubscribe ID="get_listUnsubscribe1" runat="server" Visible="false" />
                  <uc21:get_NoParms ID="get_NoParms1" runat="server" Visible="false" />
                  <uc22:get_SecurityParms ID="get_SecurityParms1" runat="server" Visible="false" />
                  <uc23:sub_MergeVars ID="sub_MergeVars1" runat="server" Visible="false" />
                  <uc53:get_listWebhooks ID="get_listWebhooks1" runat="server" Visible="false" />
                  <uc56:get_campaignShareReport ID="get_campaignShareReport1" runat="server" Visible="false" />
                  <uc59:get_listBatchSubscribe ID="get_listBatchSubscribe1" runat="server" Visible="false" />
                  <uc60:get_listInterestGrouping ID="get_listInterestGrouping1" runat="server" Visible="false" />
                  <uc61:get_listStaticSegment ID="get_listStaticSegment1" runat="server" Visible="false" />
                  <uc62:get_listsForEmail ID="get_listsForEmail1" runat="server" Visible="false" />
                  <%--  --%><br />
                  <asp:Button ID="btnTest2" runat="server" OnClick="btnTest_Click" Text="Test It" Width="100px" />
               </asp:Panel>
               <%-- Request --%>
            </div>
         </ContentTemplate>
      </asp:UpdatePanel>
   </div>
   </form>
</body>
</html>
